﻿#pragma once
#include <ostream>

#ifdef _WIN32
#ifndef LOG_API
#define LOG_API  extern __declspec(dllexport)
#endif
#else
#ifndef LOG_API
#define LOG_API
#endif
#endif

#if 1
#define LOG_END    "END"
#else
#define LOG_END    std::endl;
#endif
#define HEX(data) std::hex << data
#define DEC(data) std::dec <<data
#define ENUM_VALUE(data) ((int)data)
#define NAMESPACE_BEG namespace trad{ namespace logger {
#define NAMESPACE_END }}
#define NAMESPACE_USE using namespace trad::logger;
